package v2

import (
	"single-gin-framework/controllers"

	"github.com/gin-gonic/gin"
)

/*
 +----------------------------------------------------------------------
 + Title        : IndexController
 + Author       : huwl
 + Version      : 2.0.0
 + Initial-Time : 2025-07-23
 + Last-time    : 这个文件最后修改的时间 + 修改人的名称
 + Desc         : 首页控制层
 +----------------------------------------------------------------------
*/
type IndexController struct {
	controllers.BaseController
}

func (control IndexController) Index(ctx *gin.Context) {
	control.BaseSuccess(ctx, control.WithMessage("欢迎使用三叉戟单体gin框架 v2.0.0"))
}
